package com.dhcc.bpm.modules.alarm.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.dhcc.bpm.modules.alarm.entity.AlarmStrategy;
import com.dhcc.bpm.modules.alarm.vo.AlarmStrategyVO;
import org.springblade.core.mp.base.BaseService;

import java.util.List;

/**
 * @ClassName IAlarmStrategyService
 * @Description 告警策略表 服务类
 * @Author daina
 * @Date 2020/2/25 16:02
 * @Version V1.0
 * @Copyright: 2020 东华软件 . All rights reserved.
 */
public interface IAlarmStrategyService extends BaseService<AlarmStrategy> {

	/**
	 * 自定义分页
	 *
	 * @param page
	 * @param alarmStrategy
	 * @return
	 */
	IPage<AlarmStrategyVO> selectAlarmStrategyPage(IPage<AlarmStrategyVO> page, AlarmStrategyVO alarmStrategy);
	/**
	 * 自定义查询
	 *
	 * @param id
	 * @return
	 */
	List<String> selectAlarmStrategyNameById(Long id);

}
